package dao;

import pojo.entity.Community;

import java.util.List;
import java.util.Map;

public interface CommunityDao {
//    增删改
//  查询
//   查总数
    int insert(Community community);

    int deleteById(Integer id);

    int update(Community community);

    List<Community>  selectAll(Map<String,Object> map);

    Community selectById(Integer id);
    int selectCount(Map<String,Object> map);

}
